
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #34495e;
}
.box {
  width: 400px;
  padding: 40px;

  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #191919;
  text-align: center;
}

.box h1 {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
}

.box input[type = 'text'], .box input[type='password'] {
  border: 2px solid #3498db;
  background: none;
  display: block;
  margin: 20px auto;
  text-align: center;
  padding: 16px 14px;
  width: 200px;
  outline: none;
  color: #fff;
  border-radius: 24px;
  transition: 0.24s;
}

.box input[type = 'text']:focus, .box input[type='password']:focus {
  width: 250px;
  border-color: #27ae60;
}

.box input:-ms-input-placeholder {
  color: #596275;
}

.box input[type = 'text']::placeholder, .box input[type='password']::placeholder {
  color: #596275;
}


.box input[type = 'submit'] {
  border: 2px solid #27ae60;
  background: none;
  display: block;
  margin: 20px auto;
  text-align: center;
  padding: 12px 40px;
  outline: none;
  color: #fff;
  border-radius: 24px;
  transition: 0.24s;
  cursor: pointer;
}

.box input[type = 'submit']:hover {
  background-color: #27ae60;
}